package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserLocationPicture;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserLocationPictureService {

    /**
     * UserLocationPicture分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserLocationPicture> findPage(int page, int size);

    /**
     * 删除UserLocationPicture
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserLocationPicture数据
     *
     * @param userLocationPicture
     */
    Integer update(UserLocationPicture userLocationPicture);

    /**
     * 新增UserLocationPicture
     *
     * @param userLocationPicture
     */
    Integer add(UserLocationPicture userLocationPicture);

    /**
     * 根据ID查询UserLocationPicture
     *
     * @param id
     *
     * @return
     */
    UserLocationPicture findById(String id);

    /**
     * 查询所有UserLocationPicture
     *
     * @return
     */
    List<UserLocationPicture> findAll(UserLocationPicture userLocationPicture);

}
